package com.qqtech.qquan.circle.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CircleMember extends BaseDomain{

	//columns START
    /** 圈子id */
	private java.lang.Integer circleId;
    /** 成员id */
	private java.lang.Integer memberId;
    /** 成员类型CircleMemberTypeEnum: 1-圈主;2-管理员;3-普通成员 */
	private java.lang.Integer type;
	/**用户圈子隐私-别人是否可以看到他加入对应的圈子**/
	private java.lang.Integer isPrivate;
	/**是否屏蔽(拉黑):1-是 2-否**屏蔽(拉黑)后不能发话题**/
	private java.lang.Integer isBlack;
	/**可否发布活动:1-是;2-否**/
	private java.lang.Integer canAddActivity;
	/**可否发布投票:1-是;2-否**/
	private java.lang.Integer canAddVote;
	/**签到次数**/
	private java.lang.Integer signCount;
	/**发布话题数**/
	private java.lang.Integer topicCount;
	/**成员等级代码**/
	private java.lang.Integer gradeCode;
	
	/**【这个成员】最后发布话题的时间**/
	private java.sql.Timestamp lastTopicAt;
	//columns END
	
	
	public CircleMember(){
	}

	public java.lang.Integer getCanAddActivity() {
		return canAddActivity;
	}

	public void setCanAddActivity(java.lang.Integer canAddActivity) {
		this.canAddActivity = canAddActivity;
	}

	public java.lang.Integer getCanAddVote() {
		return canAddVote;
	}

	public void setCanAddVote(java.lang.Integer canAddVote) {
		this.canAddVote = canAddVote;
	}

	public java.lang.Integer getSignCount() {
		return signCount;
	}

	public void setSignCount(java.lang.Integer signCount) {
		this.signCount = signCount;
	}

	public java.lang.Integer getTopicCount() {
		return topicCount;
	}

	public void setTopicCount(java.lang.Integer topicCount) {
		this.topicCount = topicCount;
	}

	public CircleMember( java.lang.Integer id ){
		this.id = id;
	}

	public void setCircleId(java.lang.Integer circleId) {
		this.circleId = circleId;
	}

	public java.lang.Integer getCircleId() {
		return this.circleId;
	}
	
	public void setMemberId(java.lang.Integer memberId) {
		this.memberId = memberId;
	}

	public java.lang.Integer getMemberId() {
		return this.memberId;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.Integer getIsPrivate() {
		return isPrivate;
	}

	public void setIsPrivate(java.lang.Integer isPrivate) {
		this.isPrivate = isPrivate;
	}

	public java.lang.Integer getIsBlack() {
		return isBlack;
	}

	public void setIsBlack(java.lang.Integer isBlack) {
		this.isBlack = isBlack;
	}

	public java.lang.Integer getGradeCode() {
		return gradeCode;
	}

	public void setGradeCode(java.lang.Integer gradeCode) {
		this.gradeCode = gradeCode;
	}

	public java.sql.Timestamp getLastTopicAt() {
		return lastTopicAt;
	}

	public void setLastTopicAt(java.sql.Timestamp lastTopicAt) {
		this.lastTopicAt = lastTopicAt;
	}
}

